<?php

/**
 * Logout is a page that logs the current user out of the system and then links them back to the login page
 *
 * @Author Ryan Olson
 * @Version 1.0
 */
@session_start();
require_once 'shared-functions.php';
require_once 'session.php';
require_once 'masterpage.php';

SessionCleanup(); //clear session

masterpage("Logout");
?>

<table>
    <tr>
        <td>You have been successfully logged out.</td>
    </tr>
    <tr>
        <td><a href="login.php">Click here</a> to login</td>
    </tr>
</table>

<?php
    endmasterpage();
?>
